<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form th:action="@{/updateUser}" method="post">
 <input type="hidden" name="_method" value="put"><br>
    <input type="text" th:value="${user.id}" name="id"><br>
    <input type="text" th:value="${user.name}" name="name"><br>
    <input type="text" th:value="${user.password}" name="password"><br>
    <input type="submit" value="修改">

</form>
</body>
</html>